// redux最核心的管理对象模块 这段代码配置很固定 配完后就不用再改了
import {createStore, applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import reducers from './reducers'

// 向外暴露store
export default createStore(reducers, composeWithDevTools(applyMiddleware(thunk)))
